package com.potevio.simulator.entity;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @ClassName ChargePilePopulationState
 * @Description:
 * @Date 2021/5/11  17:17
 * @Author zyd
 */
@Component
public class ChargePilePopulationState0x31 {
    // 版本域
    public static String versionDomain;

    // 序列号域
    public static String serialNumberDomain;

    // 命令代码
    public static String commandCode;

    // 用户ID
    public static String userId;

    // 指令序号
    public static String instructionsNumber;

    public static String inputPowerState;
    public static String averageTemperature;
    public static String externalTemperature;
    public static String workState;
    public static String canChargeModelNumber;
    public static String outputActivePower;
    public static String outputReactivePower;
    public static String chargeSysPopulationState;
    public static String chargeSysFaultState;
    public static String conModelFaultState;
    public static String fanState;
    public static String airConditionerState;
    public static String heaterState;
    public static String smokeAlarmState;
    public static String vibrationSensorState;
    // 充电枪数量
    public static String chargeGunNum;

    @Value("${message.chargePilePopulationState.version-domain}")
    public void setVersionDomain(String versionDomain) {
        ChargePilePopulationState0x31.versionDomain = versionDomain;
    }
    @Value("${message.chargePilePopulationState.serial-number-domain}")
    public void setSerialNumberDomain(String serialNumberDomain) {
        ChargePilePopulationState0x31.serialNumberDomain = serialNumberDomain;
    }
    @Value("${message.chargePilePopulationState.command-code}")
    public void setCommandCode(String commandCode) {
        ChargePilePopulationState0x31.commandCode = commandCode;
    }
    @Value("${message.chargePilePopulationState.user-id}")
    public void setUserId(String userId) {
        ChargePilePopulationState0x31.userId = userId;
    }
    @Value("${message.chargePilePopulationState.instructions-number}")
    public void setInstructionsNumber(String instructionsNumber) {
        ChargePilePopulationState0x31.instructionsNumber = instructionsNumber;
    }

    @Value("${message.chargePilePopulationState.input-power-state}")
    public void setInputPowerState(String inputPowerState) {
        ChargePilePopulationState0x31.inputPowerState = inputPowerState;
    }
    @Value("${message.chargePilePopulationState.average-temperature}")
    public void setAverageTemperature(String averageTemperature) {
        ChargePilePopulationState0x31.averageTemperature = averageTemperature;
    }
    @Value("${message.chargePilePopulationState.external-temperature}")
    public void setExternalTemperature(String externalTemperature) {
        ChargePilePopulationState0x31.externalTemperature = externalTemperature;
    }
    @Value("${message.chargePilePopulationState.work-state}")
    public void setWorkState(String workState) {
        ChargePilePopulationState0x31.workState = workState;
    }
    @Value("${message.chargePilePopulationState.can-charge-model-number}")
    public void setCanChargeModelNumber(String canChargeModelNumber) {
        ChargePilePopulationState0x31.canChargeModelNumber = canChargeModelNumber;
    }
    @Value("${message.chargePilePopulationState.output-active-power}")
    public void setOutputActivePower(String outputActivePower) {
        ChargePilePopulationState0x31.outputActivePower = outputActivePower;
    }
    @Value("${message.chargePilePopulationState.output-reactive-power}")
    public void setOutputReactivePower(String outputReactivePower) {
        ChargePilePopulationState0x31.outputReactivePower = outputReactivePower;
    }
    @Value("${message.chargePilePopulationState.charge-sys-population-state}")
    public void setChargeSysPopulationState(String chargeSysPopulationState) {
        ChargePilePopulationState0x31.chargeSysPopulationState = chargeSysPopulationState;
    }
    @Value("${message.chargePilePopulationState.charge-sys-fault-state}")
    public void setChargeSysFaultState(String chargeSysFaultState) {
        ChargePilePopulationState0x31.chargeSysFaultState = chargeSysFaultState;
    }
    @Value("${message.chargePilePopulationState.con-model-fault-state}")
    public void setConModelFaultState(String conModelFaultState) {
        ChargePilePopulationState0x31.conModelFaultState = conModelFaultState;
    }
    @Value("${message.chargePilePopulationState.fan-state}")
    public void setFanState(String fanState) {
        ChargePilePopulationState0x31.fanState = fanState;
    }
    @Value("${message.chargePilePopulationState.air-conditioner-state}")
    public void setAirConditionerState(String airConditionerState) {
        ChargePilePopulationState0x31.airConditionerState = airConditionerState;
    }
    @Value("${message.chargePilePopulationState.heater-state}")
    public void setHeaterState(String heaterState) {
        ChargePilePopulationState0x31.heaterState = heaterState;
    }
    @Value("${message.chargePilePopulationState.smoke-alarm-state}")
    public void setSmokeAlarmState(String smokeAlarmState) {
        ChargePilePopulationState0x31.smokeAlarmState = smokeAlarmState;
    }
    @Value("${message.chargePilePopulationState.vibration-sensor-state}")
    public void setVibrationSensorState(String vibrationSensorState) {
        ChargePilePopulationState0x31.vibrationSensorState = vibrationSensorState;
    }
    @Value("${message.chargePilePopulationState.charge-gun-num}")
    public void setChargeGunNum(String chargeGunNum) {
        ChargePilePopulationState0x31.chargeGunNum = chargeGunNum;
    }

}
